home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
windows
/
wdj1096.zip
/
OTALA.ZIP
/
SAMPAPP.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-29
|
560b
|
26 lines
#include <windows.h>
#include "ewv.h"
int PASCAL WinMain(HINSTANCE hInst,
HINSTANCE /*hPrevInst*/, LPSTR /*pszCmdLine*/,
int /*nCmdShow*/)
{
if (IsWin95())
{
if (GetModuleUsage(hInst) <= 1)
SetModuleExpWinVer(hInst, 0x0400);
SetTaskExpWinVer(GetCurrentTask(), 0x0400);
}
// do something else...
if (IsWin95())
{
if (GetModuleUsage(hInst) <= 1)
SetModuleExpWinVer(hInst, 0x030a);
SetTaskExpWinVer(GetCurrentTask(), 0x030a);
}
return (0);
}